package han.study.spring.collectionType;

public class Course {
    private String name;

    private Book useBook;

    public Book getUseBook() {
        return useBook;
    }

    public void setUseBook(Book useBook) {
        this.useBook = useBook;
    }

    public Course(){ }

    public Course(String name){
        this.name = name;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Course{" +
                "name='" + name + '\'' +
                ", useBook=" + useBook +
                '}';
    }
}
